package com.qj.yantaishan.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qj.yantaishan.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("shanglala_order")
public class FtOrderVo {

    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String orderNo;
    /**
     * 酒坛订单人姓名
     */
    @Excel(name = "酒坛订单人姓名")
    private String customName;

    /**
     * 订单时间
     */
    @Excel(name = "订单时间")
    private Long addTime;

    /**
     * 封坛定制电话
     */
    @Excel(name = "封坛定制电话")
    private String customTel;
    /**
     * 封坛定制年份
     */
    @Excel(name = "封坛定制年份")
    private Integer ftYear;

    /**
     * 封坛托管类型 1酒厂 2自存
     */
    @Excel(name = "封坛托管类型 1酒厂 2自存")
    private Integer ftType;

    /**
     * 封坛酒名称
     */
    @Excel(name = "封坛酒名称")
    private String ftName;
    /**
     * 总计量
     */
    @Excel(name = "总计量")
    private BigDecimal totalMetering;

    /**
     * 封坛事由
     */
    @Excel(name = "封坛事由")
    private String ftNote;

    /**
     * 封坛纪念图片/视频
     */
    @Excel(name = "封坛纪念图片/视频")
    private String ftAnniversary;

    /**
     * 封坛保单姓名
     */
    @Excel(name = "封坛保单姓名")
    private String ftBdname;

    /**
     * 封坛保单身份证号码
     */
    @Excel(name = "封坛保单身份证号码")
    private String ftBdcard;
    /** 订单状态 0临时订单 1未支付 2未发货 3已发货 4已完成 5已取消 6退款中  */
    @Excel(name = "订单状态 0临时订单 1未支付 2未发货 3已发货 4已完成 5已取消 6退款中 ")
    private Integer status;

    /**
     * 封坛付款类型 1线上 2线下
     */
    @Excel(name = "封坛付款类型 1线上 2线下")
    private Integer ftPaytype;

    /**
     * 封坛支付凭证（多张用，拼接）
     */
    @Excel(name = "封坛支付凭证", readConverterExp = "多=张用，拼接")
    private String ftPayment;
    //select * from shanglala_order_product where order_id = 733
    @TableField(value = "skuData", exist = false)
    private String skuData;
    //select * from shanglala_order_wine_info
    @TableField(exist = false)
    private String certPath;
    //select * from shanglala_order_wine_info
    @TableField(exist = false)
    private String videoPath;
    /** 汇款凭证 */
    @Excel(name = "汇款凭证")
    private String transferImg;


}
